package com.ziyun.erp.modules.member.service;

import com.baomidou.mybatisplus.service.IService;
import com.ziyun.erp.modules.member.entity.UserWalletEntity;
import io.renren.common.utils.PageUtils;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 用户钱包表
 *
 * @author jiangli
 * @email
 * @date 2018-08-08 13:57:09
 */
public interface UserWalletService extends IService<UserWalletEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean updateByMap(Map<String, Object> updateMap, Integer uId);

    void recoveryCredit(BigDecimal receiveMoney, String orderId, Integer userId);

    int updatePointById(Integer userId,Integer point);
}

